package com.jch.mp.manner1.domain.message;

import com.jch.mp.manner1.domain.protocol.Command;
import com.jch.mp.manner1.domain.protocol.Packet;

public class SimpleMessage extends Packet {

    private String content;

    public SimpleMessage() {
    }

    public SimpleMessage(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public byte getCommand() {
        return Command.SIMPLE_MESSAGE;
    }
}
